package com.yunhe.common.constant;

/**
 * 日志常量定义
 * @author liuronglei
 */
public class LogConsts {

    // 日志代码类型定义
    public enum LOG_TYPE_CODE {
        BATTERY(1L, "充放电"),
        ABNORMAL(2L, "异常"),
        ACTION(3L, "操作");
        private long value;
        private String title;
        LOG_TYPE_CODE(long value, String title) {
            this.value = value;
            this.title = title;
        }
        public long value() {
            return value;
        }
        public String title() {
            return title;
        }
    }
}
